package cn.cloud.jianghai.jianghaicommon.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Jiang.h
 * created 2022/5/22 16:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BusException extends RuntimeException {


    private int status;

    public BusException() {
    }

    public BusException(String message, int status) {
        super(message);
        this.status = status;
    }

    public BusException(String message) {
        super(message);
    }
}
